package com.kayeah82.application.avatar.qq.model;

import org.springframework.http.MediaType;

import java.io.Serializable;

/**
 * @author kayeah82
 * */
public class Avatar implements Serializable {

    private static final long serialVersionUID = -7996875292419502272L;

    private byte[] image;
    private MediaType type;

    public Avatar(byte[] image, MediaType type) {
        this.image = image;
        this.type = type;
    }

    public byte[] getImage() {
        return image;
    }

    public void setImage(byte[] image) {
        this.image = image;
    }

    public MediaType getType() {
        return type;
    }

    public void setType(MediaType type) {
        this.type = type;
    }

}
